package com.sh.data.engine.domain.datadev.flink.model.domain;

import lombok.Data;

import java.util.List;

@Data
//@ApiModel
public class FlinkTopicDomain {

    //    @ApiModelProperty(notes = "topic")
    private String topic;

    //    @ApiModelProperty(notes = "字段")
    private List<Field> fields;

    @Data
    public static class Field {

        //    @ApiModelProperty(value = "关键字")
        private String key;

        //    @ApiModelProperty(value = "字段名")
        private String fieldName;

        //    @ApiModelProperty(value = "字段取值表达式")
        private String fieldExpress;

        //    @ApiModelProperty(value = "字段类型（从db中读取到的）")
        private String fieldType;

        //    @ApiModelProperty(value = "字段描述")
        private String fieldDesc;
    }
}
